Linux System Configuration Collection
Meow King October 31, 2023 Updated: February 09, 2024 #linux #collection #system #configurationBasic Configuration
Video / Audio
-
PipeWire - Arch Wiki
usepipewire
to replacePulseAudio
WirePlumber
Note: 1. auto switch sink when connect new devices (if not default):
pactl load-module module-switch-on-connect
(only need to do once, don't need to be executed every time when system starts) -
Bluetooth
Use Blueman to manage Bluetooth.
Note: 1. devices auto connect doesn't work.
It may caused by that the device is not trusted.
bluetoothctl trust 64:68:76:4C:5F:95
-
Laptop Battery Saving TLP and install
slimbookbattery
Input Method
Use fcitx5, fcitx5-rime and rime-ice. See Linux 下为 Fcitx5 使用雾凇拼音输入法(rime)
Add Ons for Wayland
Useful add ons for sway - Sway Wiki
- Screen Record: recommend to use wf-recorder
If you want to use obs, install wlrobs to support recording screen.
Programming
- CC
- tinycc.
tcc -run
makes c capable for scripting.
- tinycc.
- Rust
- rust script Run Rust script files without any setup or explicit compilation step.
- SQl
- Javascript & Typescript
- python
- rye : a Hassle-Free Python Experience
- eidtor: pylsp + ruff
Utilities
- pkgfile can be used to list executable files owned by a package
- sd: replacement for
sed
andawk
- hut: sourcehut cli. Use
hut paste
to manage pastes. - scriptisco: run scripts in languages that require compilation
- aichat:
aichat
in AUR. - mktrans: Make background transparent using antialiased alpha channel
dict
anddictd
- cheat.sh
When doing
--standalone-install
, pls change content of~/.cheat.sh/etc/config.yaml
(see docs) and also read this issue: https://github.com/chubin/cheat.sh/issues/370 cronie
: used it to manage scheduled tasks.crontab -l
to see list,crontab -e
to edit, andsudo systemctl enable -now crontie.service
to enablecrond
.
Usejournalctl -u cronie.service
to view the log.- rg and rga for search; rgr for replace.
- just: Make alternative
- zoxide: quick location movement (smarter cd)
- offlineimap Read/sync your IMAP mailboxes
- password-store
- Proxy: use dae
So you don't need proxychains-ng and graftcp. [Note: graftcp can handle some situation that proxychains-ng cann't like fetchingzig
andgo
package.] - hurl: run and test HTTP requests with plain text
- sshx: Fast, collaborative live terminal sharing over the web
Wayland Only
- wtype: xdotool type for wayland.
- wf-recorder: video recorder.
- shomethekey: Show keys you typed on screen.
- hyprpicker: wayland color picker.
Misc
zenity
: will display GTK+ components, and return the value
Tools I abandoned
- himalaya: CLI to manage emails, suitable for dealing with git patches
Manuals
- hier: Explains the filesystem layout
- ascii: An ASCII table
- builtins: Things your shell does without external binaries
- signal: Includes a table of all the signal numbers